package com.kwq.designPattern.construct.facade;

/**
 * @author kangwanqiang
 * @date 2021/2/7
 */
public class FacadeClient {
    public static void main(String[] args) {
        CarFacade facade = new CarFacade();

        // 电动车行驶，代替原有的EVCar中的drive
        facade.evCarDrive();
        // 燃油车行驶，代替原有的MotorCar中的drive
        facade.motorCarDrive();
    }
}
